package com.woniu.car.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 购物车表
 * </p>
 *
 * @author zhoubinbin
 * @since 2021-06-21
 */
@Data
public class TCarts implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "carts_id", type = IdType.AUTO)
    private Integer cartsId;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 商品id
     */
    private Integer pioId;

    private String pioPhoto;
    private String pioName;
    private double pioPrice;
    private double amout;

    /**
     * 数量
     */
    private Integer quantity;

    /**
     * 记录添加时间
     */
    private Date rawAddTime;

    /**
     * 记录更新时间
     */
    private Date rawUpdateTime;


}
